package com.xunk.equipment.api.domain;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @ProjectName: HIM
 * @Package: com.xunk.equipment.domain
 * @ClassName: MessageNotificationDO
 * @Author: yangwendong
 * @Description: 消息通知信息
 * @Date: 2021/5/11 15:02
 * @Version: 1.0
 */
public class MessageNotificationDO {
    private Long id;
    private String title;
    private String content;    // '通知信息内容',
    private Long deptId;// '家庭id',
    private Long userId;// '接收消息的用户id',
    private String triggerId;// '触发体id(如设备告警消息的触发体是当前设备id，没有则为空)',
    private Integer isRead;//'是否已读，0 未读， 1 已读',
    private Date createTime;//'告警时间',
    private Integer type;// '通知消息 1.系统消息 2 设备消息',

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTriggerId() {
        return triggerId;
    }

    public void setTriggerId(String triggerId) {
        this.triggerId = triggerId;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
